package com.appkubes.mall.restful.application.order.order.entity;

import lombok.AllArgsConstructor;

@AllArgsConstructor
public enum OrderStateEnum {
    UNPAY("unPay", "已取消"),

    PAYFAIL("payFail", "支付失败"),

    PAYSUCCESS("paySuccess", "支付成功"),

    SENDING("sending", "配送中"),

    ARRIVE("arrive", "送达"),

    COMPLETED("completed", "已完成"),

    CANCEL("cancel", "已取消"),

    RETURNING("returning", "returning"),

    RETURNED("returned", "退货完成"),

    USING("using", "租赁中");

    private final String value;

    private final String desc;

    public String value() {
        return value;
    }

    public String desc() {
        return desc;
    }
}
